CC=gcc
CFLAGS=-c -Wall
LDFLAGS=
SOURCES=simple_message_client.c
OBJECTS=$(SOURCES:.cpp=.o)
EXECUTABLE=simple_message_client

all: $(EXECUTABLE)
	
$(EXECUTABLE): $(OBJECTS)
	$(CC) $(LDFLAGS) $(OBJECTS) -o $@

simple_message_client.o: simple_message_client.c
	$(CC) $(CFLAGS) simple_message_client.c

clean:
	rm -rf *o simple_message_client
